package com.guigu.eduservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.eduservice.dto.BusinessmanEquipmentDto;
import com.guigu.eduservice.entity.BusinessmanEquipment;
import com.guigu.eduservice.vo.BusinessmanVo;
import com.guigu.eduservice.vo.EqVo;
import java.util.List;

public interface BusinessmanEquipmentService extends IService<BusinessmanEquipment> {

    /**
     * 分配设备
     * @param equipmentId
     * @param vo
     * @return
     */
    boolean allocateEquipment(Long equipmentId, BusinessmanVo vo);

    /**
     * (评估师)检测任务(返回所有检测任务)
     *
     * @param businessmanId 业务员id
     * @return 检测任务列表
     */
    List<BusinessmanEquipmentDto> getTaskList(Integer businessmanId);
    /**
     * 通过设备id到业务员设备关联表里查找业务员名称
     * @param equipmentId
     * @return
     */
    BusinessmanEquipment getBusinessmanEquipment(Long equipmentId);


}
